<template>
	<view>
		<!-- <image :src="img" mode=""></image> -->
		<view class="scroll-tab">
			<msTabs :list="scrollList" v-model="scrollActive" @input="selectTab"></msTabs>
		</view>
		<view class="m16 bgw">
			富文本展示
		</view>
	</view>
</template>

<script>
import msTabs from '../../components/ms-tabs/ms-tabs.vue';
export default {
	data() {
		return {
			img: '',
			scrollList:[{title:'津燃公用'},{title:'津燃热力'},{title:'万安燃气'}],
			scrollActive:0
		}
	},
	components: {
		msTabs,
	},
	onLoad(option) {
		this.img = option.hintImg;
	},
	methods: {
		selectTab(val){
			this.scrollActive = val;
			console.log(this.scrollActive)
		}
	},
};
</script>

<style lang="scss">
	page {
		background-color: $uni-bg-color-grey;
	}
	image {
		width: 100vw;
	}
</style>
